public class test {
    public static void main(String[] args) {
        Demo demo = new Demo();
        int[] cur = {1,2,3,4,5};
        int a = demo.minOperations(cur,15);
        System.out.println(a);
    }

}
